package com.gy.hsim.bservice.message.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.gy.hsim.bservice.message.bean.Message;
import com.gy.hsim.bservice.message.bean.MessageSetting;

/**
 * 
 * @ClassName: messageService 
 * @Description: 信息业务接口 
 * @author quanrj  
 * @date 2015-11-10 上午09:37:19
 */
public interface MessageService {
	//查询历史消息接口
	public List<Message> queryMessageRecordList(Message message) throws Exception;
	//查询历史消息总数接口
	public int queryMessageRecordListCount(Message message) throws Exception;
	//查询总的历史消息接口
	public List<Message> queryMessageRecordTotalList(Message message) throws Exception;
	//查询总的历史消息总数接口
	public int queryMessageRecordTotalListCount(Message message) throws Exception;
	//查询历史推送消息接口
	public List<Message> queryPushMessageRecordList(Message message) throws Exception;
	//查询历史推送消息总数接口
	public int queryPushMessageRecordListCount(Message message) throws Exception;
	//查询总的历史推送消息接口
	public List<Message> queryPushMessageRecordTotalList(Message message) throws Exception;
	//查询总的历史推送消息总数接口
	public int queryPushMessageRecordTotalListCount(Message message) throws Exception;
	//消息设置
	public int messageSetting(MessageSetting messageSetting) throws Exception;
	//根据用户ID查询设置信息
    public List<MessageSetting> queryMessageSettingList(MessageSetting messageSetting) throws Exception;
    //查询群消息记录
    public List<Message> queryGroupMessageList(Message message) throws Exception;
    //查询群消息总数接口
  	public int queryGroupMessageListCount(Message message) throws Exception;
    //企业操作员查询最近联系人消息接口
  	public List<Message> queryOperRecentContactsMsgList(Message message) throws Exception;
  	//企业操作员查询最近联系人消息总数接口
  	public int queryOperRecentContactsMsgListCount(Message message) throws Exception;
  	//消费者用户查询最近联系人消息接口
  	public List<Message> queryConsumerRecentContactsMsgList(Message message) throws Exception;
    //消费者查询最近联系人消息总数接口
  	public int queryConsumerRecentContactsMsgListCount(Message message) throws Exception;
}
